﻿using Newtonsoft.Json;
/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【Token刷新记录】
==================================================================
*/

namespace Models
{
    /// <summary>
    /// Token刷新记录  FilterModel
    /// </summary>
    public partial class RefreshTokenFilterModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int? _RefreshTokenID { get; set; }
        public List<int> _RefreshTokenIDs { get; set; }
        public List<int> _NotRefreshTokenIDs { get; set; }

        /// <summary>
        /// 用户登录编码
        /// </summary>
        public string _LoginCode { get; set; }
        public string _LoginCodeEqual { get; set; }

        /// <summary>
        /// 用户登录类型
        /// </summary>
        public int? _LoginType { get; set; }
        public List<int> _LoginTypes { get; set; }
        public List<int> _NotLoginTypes { get; set; }

        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime? _IssuedOn { get; set; }
        public DateTime? _IssuedOn_Begin { get; set; }
        public DateTime? _IssuedOn_End { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? _ExpiredOn { get; set; }
        public DateTime? _ExpiredOn_Begin { get; set; }
        public DateTime? _ExpiredOn_End { get; set; }

    }





    /// <summary>
    /// Token刷新记录  Model
    /// </summary>
    public partial class RefreshTokenModel
    {
        /// <summary>
        /// 只读属性，统一主键名称
        /// </summary>
        public int AutoID
        {
            get
            {
                return RefreshTokenID;
            }
        }

        /// <summary>
        /// 编号
        /// </summary>
        public int RefreshTokenID { get; set; }

        /// <summary>
        /// 用户登录编码
        /// </summary>
        public string LoginCode { get; set; }

        /// <summary>
        /// 用户登录类型
        /// </summary>
        public int LoginType { get; set; }

        /// <summary>
        /// 用户登录类型ID
        /// </summary>
        public int LoginTypeID { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// Token值
        /// </summary>
        public string TokenValue { get; set; }

        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime IssuedOn { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpiredOn { get; set; }

    }
}
